package com.srit.recipes.controller;

import com.srit.recipes.common.response.Response;
import com.srit.recipes.service.ParameterService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "菜谱生成参数")
public class ParameterController {

    @Autowired
    private ParameterService parameterService;


    @GetMapping("/param/require")
    @ApiOperation("1 菜谱每日数量")
    public Response dailyRequire() {
        return Response.success(parameterService.dailyRequire());
    }




}
